<dom-module id="haigou-new">
    <template>
    <style>
    :host{
        color:red;
    }
        app-drawer{
            z-index:10;
        }
    </style>
    <app-drawer align="right" id="drawer" opened="{{drawerOpened}}" swipe-open tabindex="0">
        
    </app-drawer>
    <haigou-hot context={{context}}></haigou-hot>
    <paper-button on-click="_click">Button</paper-button>
    </template>
</dom-module>
<script>
    
    class News extends Polymer.Element {
        constructor() {
            super();
            
        }
        static get is(){
            return "haigou-new";
        }
        ready(){
            super.ready();
            Polymer.importHref(this.context.pluginPath+"haigou-hot.html");
        }
        _click(e){
            this.$.drawer.open();
        }
    }
    window.customElements.define("haigou-new",News);
</script>